type bv = (props: { temperature: string }) => React.ReactElement
const BoilingVerdict: bv = ({ temperature }) => {
    let tem2: number = parseInt(temperature)
    if (tem2 >= 100) {
        return (
            <h1 style={{ color: 'red' }}>水开了 ! ! !</h1>
        )
    } else {
        return (
            <h1 style={{ color: 'skyblue' }}>烧水中~ ~ ~</h1>
        )
    }
}
export default BoilingVerdict